
<!doctype html>
<html>
  <head>
    <meta name="layout" content="main">
  <g:set var="entityName" value="${message(code: 'produto.label', default: 'Produto')}" />
  <title>Painel de Controle</title>
</head>
<body>
  <div class="nav" role="navigation">

  </div>
  <div id="list-produto" class="content scaffold-list" role="main">
    <h1>Painel de Controle</h1>
    <g:if test="${flash.message}">
      <div class="message" role="status">${flash.message}</div>
    </g:if>

    <table>
      <h1>Cadastros</h1>
      <tr>
        <td>
      <g:link controller="produto" action="list"><img src="${resource(dir:'images/painel', file:'gift.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 5px">Produtos</h4>
      </td>
      <td>
      <g:link controller="produtoCategoria" action="list"><img src="${resource(dir:'images/painel', file:'ruler.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 5px">Categoria</h4>
      </td>
      <td>
      <g:link controller="produtoCor" action="list"><img src="${resource(dir:'images/painel', file:'shapes.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 5px">Cor</h4>
      </td>
      <td>
      <g:link controller="produtoModelo" action="list"><img src="${resource(dir:'images/painel', file:'shapes.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 5px">Modelo</h4>
      </td>
      <td>
      <g:link controller="fabricante" action="list"><img src="${resource(dir:'images/painel', file:'gears.png')}"/></g:link>
      <h4 style="margin-left: 5px">Fabricantes</h4>
      </td>
      <td>
      <g:link controller="vendedor" action="list"><img src="${resource(dir:'images/painel', file:'users.png')}"/></g:link>
      <h4 style="margin-left: 5px">Vendedores</h4>
      </td>
      <td>
      <g:link controller="usuario" action="list"><img src="${resource(dir:'images/painel', file:'users.png')}"/></g:link>
      <h4 style="margin-left: 5px">Consultores</h4>
      </td>
      </tr>
    </table>

    <table>
      <h1>Rotinas</h1>
      <tr>
        <td>
      <g:link controller="venda" action="list"><img src="${resource(dir:'images/painel', file:'gift.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 10px">Vendas</h4>
      </td>
      <td>
      <g:link controller="produto" action="prodConsultor"><img src="${resource(dir:'images/painel', file:'gift.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 10px">Estoque Consultor</h4>
      </td>
      </tr>
    </table>

    <table>
      <h1>Admin Site</h1>
      <tr>
        <td>
      <g:link controller="banner" action="list"><img src="${resource(dir:'images/painel', file:'calendar.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 10px">Banner Home</h4>
      </td>
      <td>
      <g:link controller="empresa" action="show" id="1"><img src="${resource(dir:'images/painel', file:'bank.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 10px">Empresa</h4>
      </td>
      <td>
      <g:link controller="fotoProduto" action="list"><img src="${resource(dir:'images/painel', file:'camera.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 10px">Fotos Produtos</h4>
      </td>
      <td>
      <g:link controller="estoqueImagem" action="list"><img src="${resource(dir:'images/painel', file:'camera.png')}"/></g:link>
      <h4 style="margin-top: -1%; margin-left: 10px">Banco Imagens</h4>
      </td>
      </tr>
    </table>
  </div>
</body>
</html>
